Skip to content

Conversation

@Aganlengzi
Copy link
Contributor

@Aganlengzi Aganlengzi commented Sep 29, 2021

PR types

Others

PR changes

OPs

Describe

XLNet needs upgrade related NPU kernels as follows:

1.transpose2 op and index_select_grad op replace NPU operator "TransposeD" with recommended "Transpose" to get potential performance improvements.
2.transpose2 supports dtype int64_t under control of WITH_ASCEND_INT64.

GLOG_v=4 ctest -R test_transpose_op_npu -VV
image
image

ctest -R test_index_select_op_npu -VV
image

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@qili93 qili93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qili93 qili93 merged commit a66b9fb into PaddlePaddle:develop Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants